import http from "@/utils/httpRequest";
/**
 * 获取非图文素材信息
 * @returns {Promise<unknown>}
 */
export const getMaterRest = (page,type) => {
    return http.get(
        http.adornUrl(`/manage/wxAssets/materialFileBatchGet`),
        {
            params:{page,type}
        }
    )
}
/**
 * 获取图文素材信息
 * @param page
 * @returns {Promise<any>}
 */
export const getMaterNews = (page) => {
    return http.get(
        http.adornUrl(`/manage/wxAssets/materialNewsBatchGet`),
        {params:{page}}
        )
}